package cn.zmwh.portal.modules.index.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author dmzmwh
 * @since 2024-10-02
 */
@Getter
@Setter
@TableName("tl_circle")
@ApiModel(value = "TlCircle对象", description = "")
public class TlCircle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("图片")
    private String icon;

    @ApiModelProperty("背景图片")
    private String bgImg;

    @ApiModelProperty("分类")
    private String topicCode;

    @ApiModelProperty("圈子名称")
    private String name;

    @ApiModelProperty("圈子简介")
    private String detail;

    @ApiModelProperty("精选 0非精选 1 精选")
    private Boolean handpick;

    @ApiModelProperty("热门 0 非热门 1热门")
    private Boolean hot;

    @ApiModelProperty("排序")
    private Long sort;

    @ApiModelProperty("帖子数量")
    private Integer postNum;

    @ApiModelProperty("创建人")
    private Long uid;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
